{
    "keyboard_name": "Relic",
    "manufacturer": "projectcain",
    "url": "",
    "maintainer": "projectcain",
    "usb": {
        "vid": "0xFEED",
        "pid": "0x6060",
        "device_version": "0.0.1"
    },
    "matrix_pins": {
        "cols": ["D3", "D5", "B0", "F0", "F1", "F4", "F5", "F6", "C7", "C6", "B4"],
        "rows": ["D7", "B2", "B6", "B5"]
    },
    "diode_direction": "COL2ROW",
    "encoder": {
        "rotary": [
            {"pin_a": "D4", "pin_b": "D6"}
        ]
    },
    "processor": "atmega32u4",
    "bootloader": "atmel-dfu",
    "layouts": {
        "LAYOUT_all": {
            "layout": [
                {"matrix": [0, 0], "x": 0, "y": 0},
                {"matrix": [0, 1], "x": 1, "y": 0},
                {"matrix": [0, 2], "x": 2, "y": 0},
                {"matrix": [0, 3], "x": 3, "y": 0},
                {"matrix": [0, 4], "x": 4, "y": 0},

                {"matrix": [0, 5], "x": 6, "y": 0},
                {"matrix": [0, 6], "x": 7, "y": 0},
                {"matrix": [0, 7], "x": 8, "y": 0},
                {"matrix": [0, 8], "x": 9, "y": 0},
                {"matrix": [0, 9], "x": 10, "y": 0},
                {"matrix": [0, 10], "x": 11, "y": 0},

                {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.25},
                {"matrix": [1, 1], "x": 1.25, "y": 1},
                {"matrix": [1, 2], "x": 2.25, "y": 1},
                {"matrix": [1, 3], "x": 3.25, "y": 1},
                {"matrix": [1, 4], "x": 4.25, "y": 1},

                {"matrix": [1, 5], "x": 6.25, "y": 1},
                {"matrix": [1, 6], "x": 7.25, "y": 1},
                {"matrix": [1, 7], "x": 8.25, "y": 1},
                {"matrix": [1, 8], "x": 9.25, "y": 1},
                {"matrix": [1, 9], "x": 10.25, "y": 1, "w": 1.75},

                {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
                {"matrix": [2, 1], "x": 1.75, "y": 2},
                {"matrix": [2, 2], "x": 2.75, "y": 2},
                {"matrix": [2, 3], "x": 3.75, "y": 2},
                {"matrix": [2, 4], "x": 4.75, "y": 2},

                {"matrix": [2, 5], "x": 6.75, "y": 2},
                {"matrix": [2, 6], "x": 7.75, "y": 2},
                {"matrix": [2, 7], "x": 8.75, "y": 2},
                {"matrix": [2, 8], "x": 9.75, "y": 2},
                {"matrix": [2, 9], "x": 10.75, "y": 2, "w": 1.25},

                {"matrix": [3, 0], "x": 0.25, "y": 3, "w": 1.25},
                {"matrix": [3, 1], "x": 1.5, "y": 3, "w": 1.25},
                {"matrix": [3, 3], "x": 9.25, "y": 3, "w": 1.25},
                {"matrix": [3, 4], "x": 10.5, "y": 3, "w": 1.25},
                {"matrix": [3, 5], "x": 3, "y": 3.25},
                {"matrix": [3, 6], "x": 4, "y": 3.25, "w": 1.5},
                {"matrix": [3, 7], "x": 5.5, "y": 3.25},
                {"matrix": [3, 8], "x": 6.5, "y": 3.25, "w": 1.5},
                {"matrix": [3, 9], "x": 8, "y": 3.25}
            ]
        },
        "LAYOUT_full_space": {
            "layout": [
                {"matrix": [0, 0], "x": 0, "y": 0},
                {"matrix": [0, 1], "x": 1, "y": 0},
                {"matrix": [0, 2], "x": 2, "y": 0},
                {"matrix": [0, 3], "x": 3, "y": 0},
                {"matrix": [0, 4], "x": 4, "y": 0},

                {"matrix": [0, 5], "x": 6, "y": 0},
                {"matrix": [0, 6], "x": 7, "y": 0},
                {"matrix": [0, 7], "x": 8, "y": 0},
                {"matrix": [0, 8], "x": 9, "y": 0},
                {"matrix": [0, 9], "x": 10, "y": 0},
                {"matrix": [0, 10], "x": 11, "y": 0},

                {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.25},
                {"matrix": [1, 1], "x": 1.25, "y": 1},
                {"matrix": [1, 2], "x": 2.25, "y": 1},
                {"matrix": [1, 3], "x": 3.25, "y": 1},
                {"matrix": [1, 4], "x": 4.25, "y": 1},

                {"matrix": [1, 5], "x": 6.25, "y": 1},
                {"matrix": [1, 6], "x": 7.25, "y": 1},
                {"matrix": [1, 7], "x": 8.25, "y": 1},
                {"matrix": [1, 8], "x": 9.25, "y": 1},
                {"matrix": [1, 9], "x": 10.25, "y": 1, "w": 1.75},

                {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
                {"matrix": [2, 1], "x": 1.75, "y": 2},
                {"matrix": [2, 2], "x": 2.75, "y": 2},
                {"matrix": [2, 3], "x": 3.75, "y": 2},
                {"matrix": [2, 4], "x": 4.75, "y": 2},

                {"matrix": [2, 5], "x": 6.75, "y": 2},
                {"matrix": [2, 6], "x": 7.75, "y": 2},
                {"matrix": [2, 7], "x": 8.75, "y": 2},
                {"matrix": [2, 8], "x": 9.75, "y": 2},
                {"matrix": [2, 9], "x": 10.75, "y": 2, "w": 1.25},

                {"matrix": [3, 0], "x": 0.25, "y": 3, "w": 1.25},
                {"matrix": [3, 1], "x": 1.5, "y": 3, "w": 1.25},
                {"matrix": [3, 5], "x": 9.25, "y": 3, "w": 1.25},
                {"matrix": [3, 8], "x": 10.5, "y": 3, "w": 1.25},
                {"matrix": [3, 9], "x": 3, "y": 3.25, "w": 6}
            ]
        },
        "LAYOUT_split_2space": {
            "layout": [
                {"matrix": [0, 0], "x": 0, "y": 0},
                {"matrix": [0, 1], "x": 1, "y": 0},
                {"matrix": [0, 2], "x": 2, "y": 0},
                {"matrix": [0, 3], "x": 3, "y": 0},
                {"matrix": [0, 4], "x": 4, "y": 0},

                {"matrix": [0, 5], "x": 6, "y": 0},
                {"matrix": [0, 6], "x": 7, "y": 0},
                {"matrix": [0, 7], "x": 8, "y": 0},
                {"matrix": [0, 8], "x": 9, "y": 0},
                {"matrix": [0, 9], "x": 10, "y": 0},
                {"matrix": [0, 10], "x": 11, "y": 0},

                {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.25},
                {"matrix": [1, 1], "x": 1.25, "y": 1},
                {"matrix": [1, 2], "x": 2.25, "y": 1},
                {"matrix": [1, 3], "x": 3.25, "y": 1},
                {"matrix": [1, 4], "x": 4.25, "y": 1},

                {"matrix": [1, 5], "x": 6.25, "y": 1},
                {"matrix": [1, 6], "x": 7.25, "y": 1},
                {"matrix": [1, 7], "x": 8.25, "y": 1},
                {"matrix": [1, 8], "x": 9.25, "y": 1},
                {"matrix": [1, 9], "x": 10.25, "y": 1, "w": 1.75},

                {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
                {"matrix": [2, 1], "x": 1.75, "y": 2},
                {"matrix": [2, 2], "x": 2.75, "y": 2},
                {"matrix": [2, 3], "x": 3.75, "y": 2},
                {"matrix": [2, 4], "x": 4.75, "y": 2},

                {"matrix": [2, 5], "x": 6.75, "y": 2},
                {"matrix": [2, 6], "x": 7.75, "y": 2},
                {"matrix": [2, 7], "x": 8.75, "y": 2},
                {"matrix": [2, 8], "x": 9.75, "y": 2},
                {"matrix": [2, 9], "x": 10.75, "y": 2, "w": 1.25},

                {"matrix": [3, 0], "x": 0.25, "y": 3, "w": 1.25},
                {"matrix": [3, 1], "x": 1.5, "y": 3, "w": 1.25},
                {"matrix": [3, 4], "x": 9.25, "y": 3, "w": 1.25},
                {"matrix": [3, 6], "x": 10.5, "y": 3, "w": 1.25},
                {"matrix": [3, 8], "x": 3, "y": 3.25, "w": 3},
                {"matrix": [3, 9], "x": 6, "y": 3.25, "w": 3}
            ]
        },
        "LAYOUT_split_4space": {
            "layout": [
                {"matrix": [0, 0], "x": 0, "y": 0},
                {"matrix": [0, 1], "x": 1, "y": 0},
                {"matrix": [0, 2], "x": 2, "y": 0},
                {"matrix": [0, 3], "x": 3, "y": 0},
                {"matrix": [0, 4], "x": 4, "y": 0},

                {"matrix": [0, 5], "x": 6, "y": 0},
                {"matrix": [0, 6], "x": 7, "y": 0},
                {"matrix": [0, 7], "x": 8, "y": 0},
                {"matrix": [0, 8], "x": 9, "y": 0},
                {"matrix": [0, 9], "x": 10, "y": 0},
                {"matrix": [0, 10], "x": 11, "y": 0},

                {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.25},
                {"matrix": [1, 1], "x": 1.25, "y": 1},
                {"matrix": [1, 2], "x": 2.25, "y": 1},
                {"matrix": [1, 3], "x": 3.25, "y": 1},
                {"matrix": [1, 4], "x": 4.25, "y": 1},

                {"matrix": [1, 5], "x": 6.25, "y": 1},
                {"matrix": [1, 6], "x": 7.25, "y": 1},
                {"matrix": [1, 7], "x": 8.25, "y": 1},
                {"matrix": [1, 8], "x": 9.25, "y": 1},
                {"matrix": [1, 9], "x": 10.25, "y": 1, "w": 1.75},

                {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
                {"matrix": [2, 1], "x": 1.75, "y": 2},
                {"matrix": [2, 2], "x": 2.75, "y": 2},
                {"matrix": [2, 3], "x": 3.75, "y": 2},
                {"matrix": [2, 4], "x": 4.75, "y": 2},

                {"matrix": [2, 5], "x": 6.75, "y": 2},
                {"matrix": [2, 6], "x": 7.75, "y": 2},
                {"matrix": [2, 7], "x": 8.75, "y": 2},
                {"matrix": [2, 8], "x": 9.75, "y": 2},
                {"matrix": [2, 9], "x": 10.75, "y": 2, "w": 1.25},

                {"matrix": [3, 0], "x": 0.25, "y": 3, "w": 1.25},
                {"matrix": [3, 1], "x": 1.5, "y": 3, "w": 1.25},
                {"matrix": [3, 3], "x": 9.25, "y": 3, "w": 1.25},
                {"matrix": [3, 4], "x": 10.5, "y": 3, "w": 1.25},
                {"matrix": [3, 6], "x": 3, "y": 3.25},
                {"matrix": [3, 7], "x": 4, "y": 3.25, "w": 2},
                {"matrix": [3, 8], "x": 6, "y": 3.25, "w": 2},
                {"matrix": [3, 9], "x": 8, "y": 3.25}
            ]
        }
    }
}
